<?php
$this->breadcrumbs = array(
    'Api settings'
);
?>
<div class="box">
    <header>
        <div class="icons"><i class="icon-wrench"></i></div>
        <h5>Api settings</h5>
    </header>
    <div class="body">
        <form method="post">
            <div class="control-group">
                <label class="control-label">Facebook Id:</label>
                <div class="controls">
                    <input type="text" name="facebook_id" value="<?php echo isset($settings['facebook_id']) ? $settings['facebook_id'] : '' ?>" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">Facebook Secret</label>
                <div class="controls">
                    <input type="text" name="facebook_secret" value="<?php echo isset($settings['facebook_secret']) ? $settings['facebook_secret'] : '' ?>" />
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">Google Id:</label>
                <div class="controls">
                    <input type="text" name="google_id" value="<?php echo isset($settings['google_id']) ? $settings['google_id'] : '' ?>" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">Google Secret</label>
                <div class="controls">
                    <input type="text" name="google_secret" value="<?php echo isset($settings['google_secret']) ? $settings['google_secret'] : '' ?>" />
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">Twitter Key:</label>
                <div class="controls">
                    <input type="text" name="twitter_key" value="<?php echo isset($settings['twitter_key']) ? $settings['twitter_key'] : '' ?>" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">Twitter Secret</label>
                <div class="controls">
                    <input type="text" name="twitter_secret" value="<?php echo isset($settings['twitter_secret']) ? $settings['twitter_secret'] : '' ?>" />
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">Linkedin Key:</label>
                <div class="controls">
                    <input type="text" name="linkedin_key" value="<?php echo isset($settings['linkedin_key']) ? $settings['linkedin_key'] : '' ?>" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">Linkedin Secret</label>
                <div class="controls">
                    <input type="text" name="linkedin_secret" value="<?php echo isset($settings['linkedin_secret']) ? $settings['linkedin_secret'] : '' ?>" />
                </div>
            </div>
            <div class="form-actions">
                <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'type' => 'primary', 'label' => 'Submit')); ?>
            </div>
        </form>
    </div>
</div>